pp108 : Adding Toolbar to an XForm

Adding Toolbar to an XForm

This topic describes the procedure to add a toolbar to an XForm.

You can use the XForms Designer to add toolbars to display common, important functionality applicable in an XForm. It is also possible to group buttons in a toolbar using separator bars. This enables easy identification of similar functionality.

While creating an XForm in the XForms Designer, you can add two types of items (buttons) to the toolbar - standard and custom. Standard items refer to the Save and Print options that are commonly used in most XForms. You can add other items to introduce more functionality to the XForm.

  1. Open the XForm in the XForms Designer.
  2. Right-click the Designer Area, select Toolbar, and select the appropriate option from the sub-menu:
    • Select Add Item to add the toolbar to the XForm. The toolbar displays a placeholder button, by default. Double-click the placeholder button to open its property sheet and define its properties. For information about the options available in the property sheet, see Toolbar.
    • Select Add Standard Items to add the Save () and Print () buttons to the toolbar.
    • Select Delete Toolbarto delete the toolbar.

      Note:

      • It is not possible to add more than one standard item (Save and Print buttons) in a toolbar.
      • Right-click the toolbar to access any of the above context-menu options.
      • Double-click a toolbar (or toolbar item) or right-click it and select Properties to open its property sheet and modify its properties. For information about the properties available for the toolbar and toolbar buttons, see Toolbar.
      • For guidelines on using the Print feature in an XForm, see the wiki topic Printing Process Platform UIs (XForms).

      A toolbar that displays buttons according to the option you select is added to the XForm.

      Note:
      You can drag buttons on the toolbar to rearrange them. Placeholders are displayed to help you position the buttons.

  3. Right-click the toolbar and select Add Separator to group appropriate buttons. A separator bar (|) is added to the toolbar.
  4. Click to save the changes.

The toolbar is added to the XForm.

Related tasks

Adding Element Bars to Controls
Customizing Element Bar and Toolbar Buttons